================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述：
此样例演示了COMP比较器轮询功能，PD0作为比较器正端输入，1/2VCC作为比较器负端输
入，当PD0的电压大于1/2VCC电压时，LED灯亮，小于32/64VCC电压时,LED灯灭。

Function descriptions:
This example demonstrates the interrupt function of the COMP comparator, with PD0
as the positive input and VREFINT as the negative input. When the voltage of PD0
is greater than 1/2 voltage, the LED lights up, and when it is less than 
1/2VCC voltage, the LED lights up.
================================================================================
测试环境：
测试用板：PY32F090_STK
MDK版本： 5.28
IAR版本： 9.20
GCC版本：GNU Arm Embedded Toolchain 10.3-2021.10

Test environment:
Test board: PY32F090_STK
MDK Version: 5.28
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤：
1. 编译下载程序到MCU，并运行；
2. 配置PD0输入1.7V电压，LED灯亮
3. 配置PD0输入1.6V电压, LED灯灭

Example execution steps:
1.Compile and download the program to MCU and run it;
2.Configure PD0 input voltage of 1.7V, LED light on
3.Configure PD0 input 1.6V voltage, LED light off
================================================================================
注意事项：

Notes:
================================================================================